package org.hxc.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户表(SysUser)表实体类
 *
 * @author hxc
 * @since 2024-10-28 14:30:58
 */
@TableName("sys_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SysUser {
    //主键id
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    //登录账号
    private String username;
    //密码
    private String password;
    //md5密码盐
    private String salt;
    //状态(1-正常,2-冻结)
    private Integer status;
    //删除状态(0-正常,1-已删除)
    private Integer delFlag;
    //创建人
    private String createBy;
    //创建时间
    private Date createTime;
    //更新人
    private String updateBy;
    //更新时间
    private Date updateTime;

}

